package ooday03;

public class SupeerDemo {
    public static void main(String[] args) {
     /*  Boo o=new Boo();

    }
}
class Aoo {
    Aoo() {
        System.out.println("超类构造");
    }
}
    class Boo extends Aoo {
        Boo() {
            super();//默认的，调用类得无参构造
            System.out.println("派生类构造");
        }
    }
*/
class Coo{
    Coo(int a){
    }
}
class Doo extends Coo {
    Doo() {
        super(5);
    }
}}}
